package com.wdd.myplatform.service;

import com.wdd.myplatform.entity.MongoTest;
import org.springframework.stereotype.Service;

/**
 * @author Administrator
 * MongoRepository<行对应的对象类型, 主键列类型>
 */
@Service
public interface MongoService {

    void saveTest(MongoTest test);

    MongoTest findTestByName(String name);

    void updateTest(MongoTest test);

    void deleteTestById(Integer id);
}
